package org.example.carsystem.service.impl;

import org.example.carsystem.domain.SysDictData;
import org.example.carsystem.mapper.DictDataMapper;
import org.example.carsystem.service.DictDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictDataServiceImpl implements DictDataService {
    @Autowired
    private DictDataMapper dictDataMapper;
    @Override
    public List<SysDictData> dictDataSelect(String dictType, String dictLabel, String status) {
        return dictDataMapper.dictDataSelect(dictType,dictLabel,status);
    }

    @Override
    public Integer updatedata(SysDictData dataa) {
        return dictDataMapper.updatedata(dataa);
    }

    @Override
    public Integer removedata(String dictType) {
        return dictDataMapper.removedata(dictType);
    }

    @Override
    public List<SysDictData> findxqlist(String dictType) {
        return dictDataMapper.findxqlist(dictType);
    }

    @Override
    public Integer adddata(SysDictData data) {
        return dictDataMapper.adddata(data);
    }

    @Override
    public List<SysDictData> list(SysDictData dataa) {
        return dictDataMapper.list(dataa);
    }

    @Override
    public List<SysDictData> listAll1(SysDictData dataa) {
        return dictDataMapper.listAll1(dataa);
    }
}
